package org.finesys.common.security.client.core.constants;

public interface GiteeEndpointConstants {
    String ACCESS_TOKEN_URL = "https://gitee.com/oauth/token?grant_type=authorization_code&code={code}&client_id={client_id}&redirect_uri={redirect_uri}&client_secret={client_secret}";

    String USER_INFO_URL = "https://gitee.com/api/v5/user";

    /**
     * gitee获取授权码端点url
     */
    String AUTHORIZE_URL = "https://gitee.com/oauth/authorize?client_id=%s&redirect_uri=%s&response_type=code&scope=%s&state=%s";

    /**
     * 我们自己的授权服务器url
     */
    String TOKEN_URL = "/oauth2/token?grant_type={grant_type}&appid={appid}&code={code}&state={state}&client_id={client_id}&client_secret={client_secret}&binding={binding}";


}
